#!/bin/bash



## Pull loki image and start loki container
docker run --name loki -d -v $(pwd):/mnt/config -p 3100:3100 grafana/loki:2.7.4 -config.file=/mnt/config/loki-config.yaml


## Pull promtail image and start promtail container
docker run --name promtail -d -v $(pwd):/mnt/config -v /var/log:/var/log --link loki grafana/promtail:2.7.4 -config.file=/mnt/config/promtail-config.yaml


## Pull grafana image and start grafana container
docker run -d -p 3000:3000 grafana/grafana-oss
